set dir= C:\Estudo\Cadastro_COM_PLUS\binarios\
echo -> Removendo do AssemblyCache

gacutil /u Castle.DynamicProxy
gacutil /u Iesi.Collections
gacutil /u log4net
gacutil /u NHibernate
gacutil /u Servidor

echo -> Removendo do COM+
regsvcs /u %dir%Servidor.dll

echo -> Registrando no AssemblyCache
gacutil /i %dir%Castle.DynamicProxy.dll
gacutil /i %dir%Iesi.Collections.dll
gacutil /i %dir%log4net.dll
gacutil /i %dir%NHibernate.dll
gacutil /i %dir%Servidor.dll

echo -> Registrando no COM+
regsvcs /c %dir%Servidor.dll